package plus.ldl.ldltest.mapper;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import plus.ldl.ldltest.pojo.Log;

/**
 * @author ldl.plus
 * @date 2020年05月04日  17:27
 */
@Mapper

public interface LogMapper {
    @Insert("INSERT INTO springboot.log(interviewTime, timeConsuming, methodName, requestURI) VALUES " +
            "(interviewTime=#{interviewTime} ,methodName=#{methodName} ,timeConsuming=#{timeConsuming} ,#{requestURI}=#{requestURI} )")
    void insert(Log log);
}
